package com.meteor.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.meteor.framework.common.base.AutoEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * @author lynn
 * @date 2024/2/28
 *
 * @Description:访客管理
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("pf_visitor")
public class Visitor extends AutoEntity<Visitor> {
    

    @Schema(description= "小区id")
    private String communityId;

    @Schema(description= "访客姓名")
    private String visitorName;

    @Schema(description= "访客手机号")
    private String visitorPhoneNumber;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @Schema(description= "到访时间")
    private Date visitorDate;

    @Schema(description = "组织id")
    private String orgId;


}
